package org.dromara.event.domain.bo;

import org.dromara.event.domain.EqpDevice;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 设备信息业务对象 eqp_device
 *
 * @author Yi LH
 * @date 2025-05-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = EqpDevice.class, reverseConvertGenerate = false)
public class EqpDeviceBo extends BaseEntity {

    /**
     * 设备编号
     */
    @NotNull(message = "设备编号不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 设备类型
     */
    private String deviceType;

    /**
     * 实时状态（0正常 1故障 2维护）
     */
    private String status;

    /**
     * 日耗电量(kWh)
     */
    private Long powerConsumption;

    /**
     * 日耗水量(吨)
     */
    private Long waterConsumption;

    /**
     * 设备名称
     */
    private String deviceName;

    /**
     * 位置信息
     */
    private String location;


}
